<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
    <script charset="utf-8" type="text/javascript"
        src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js"></script>
    <title>Document</title>
</head>

<body>
    <div class="prism-player" id="J_prismPlayer"></div>
    <script>
        var player = new Aliplayer({
            id: 'J_prismPlayer',
            width: '100%',
            autoplay: false,
            cover: 'http://liveroom-img.oss-cn-qingdao.aliyuncs.com/logo.png',
            //播放配置
            encryptType: '1',//如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
            vid: 'ac7970b502654cd1a9b52a778a43aea2',
            playauth: 'eyJTZWN1cml0eVRva2VuIjoiQ0FJU2h3TjFxNkZ0NUIyeWZTaklyNWJDZWZ2SGlLeFE0cVhZVTM3RXFGb1lUc3hWdktiY29EejJJSDVFZW5OcUF1d2F2Lzh5bEd0VDZQZ1psck1xRzhJWkhCV1ZNNW90dnNrR3FGei9KcExGc3QySjZyOEpqc1ZHN3RGRCtWbXBzdlhKYXNEVkVmbDJFNVhFTWlJUi8wMGU2TC8rY2lyWXBUWEhWYlNDbFo5Z2FQa09Rd0M4ZGtBb0xkeEtKd3hrMnQxNFVtWFdPYVNDUHdMU2htUEJMVXhtdldnR2wyUnp1NHV5M3ZPZDVoZlpwMXI4eE80YXhlTDBQb1AyVjgxbExacGxlc3FwM0k0U2M3YmFnaFpVNGdscjhxbHg3c3BCNVN5Vmt0eVdHVWhKL3phTElvaXQ3TnBqZmlCMGVvUUFQb3BGcC9YNmp2QWF3UExVbTliWXhncGhCOFIrWGo3RFpZYXV4N0d6ZW9XVE84MCthS3p3TmxuVXo5bUxMZU9WaVE0L1ptOEJQdzQ0RUxoSWFGMElVRUJ5RUd5RWNQSDZwd3FTUFZqK0U1TG9pdjltamNC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YTIvc25hcHNob3RzLzE5ZDQzMTdlY2RjYTRmZjVhY2ExZTNlMGM1MDI0ZTUyLTAwMDAxLmpwZz9FeHBpcmVzPTE2MjIwMDU3OTYmT1NTQWNjZXNzS2V5SWQ9TFRBSTRGZkQ2M3pvcW5tNmNraUJGZlhaJlNpZ25hdHVyZT1abjBRWE12RUJMWVhCa3NiVmdMWnF4ZVdzYTAlM0QiLCJEdXJhdGlvbiI6MTYuMjc2N30sIkFjY2Vzc0tleUlkIjoiU1RTLk5VdzJBc2VzcVVnM1FYdUxaTUJDeVNjd0IiLCJBY2Nlc3NLZXlTZWNyZXQiOiJyaXBTQkNTdENCell3WEtDYXhVVEFiVmRwVzR3dVliZHh0NDdReFpaOVBZIiwiUmVnaW9uIjoiY24tc2hhbmdoYWkiLCJDdXN0b21lcklkIjoxODU0MTE5Njk1ODU5MTc2fQ==',
        }, function (player) {
            console.log('播放器创建好了。')
        });
    </script>
</body>

</html>